package edu.nf.ch13.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author wangl
 * @date 2025/5/6
 */
@Configuration
@ComponentScan(basePackages = "edu.nf.ch13")
//启用AspectJ注解处理器
//proxyTargetClass设置为true表示强制使用CGLIB动态代理
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class AppConfig {
}